package com.wxapp.sale.api.pojo.vo.order;

import com.wxapp.sale.api.enums.order.OrderSourceEnum;
import com.wxapp.sale.api.enums.order.OrderTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author lgl
 * @Description
 * @Datetime 2023/9/19 9:02
 * @Modified By
 */
@Data
public class QOrderAddVo {
    /**
     * 商品id
     */
    @Schema(description = "商品list", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<QBaseVo>  goods;
    /**
     * 地址id
     */
    @Schema(description = "地址id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String addressId;

    /**
     * 订单类型
     */
    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private OrderTypeEnum type;

    /**
     * 订单来源
     */
    @Schema(description = "订单来源", requiredMode = Schema.RequiredMode.REQUIRED)
    private OrderSourceEnum orderSource;
    /**
     * 订单价格/积分
     */
    @Schema(description = "订单价格/积分", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal price;
    /**
     * 折扣金额/积分
     */
    @Schema(description = "折扣金额/积分", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal discountPrice;
}
